import './App.css';
import MyHeader from './components/MyHeader';
import MyEntry from './components/MyEntry';
import MyTabbar from './components/MyTabbar';
import MySecKill from './components/MySecKill';
import MySwipe from './components/MySwipe';

//rcc 生成类组件
//rsf 生成函数式组件

import React, { Component } from 'react';

class App extends Component {
  render() {
    return (
      <div className='app'>
        {/* {输入框组件} */}
        <MyHeader></MyHeader>
        <div className="main">
          {/* {轮播图} */}
          <MySwipe></MySwipe>
          {/* {商品列表组件} */}
          <MyEntry></MyEntry>
          {/* {商品秒杀列表} */}
          <MySecKill></MySecKill>
        </div>
        {/* {底部分类组件} */}
        <MyTabbar></MyTabbar>
      </div>
    );
  }
}

export default App;